package com.geline.easytrans.annotation;

import java.lang.annotation.*;

/**
 * 字典类型枚举定义添加：@DictType(value="sys_sex", lable="性别")
 * @author: mengxin
 * @date: 2022/9/25 10:12
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface DictType {

    //字典类型code
    String value();

    //字典类型名称
    String label() default "";
}
